using Autofac;
using Autofac.Core;
using Nop.Core.Data;
using Nop.Core.Infrastructure;
using Nop.Core.Infrastructure.DependencyManagement;
using Nop.Services.Media;
using System;
using Nop.Plugin.Picture.CDN.Services;
namespace Nop.Plugin.Picture.CDN
{
	public class DependencyRegistrar : IDependencyRegistrar
	{
		public int Order
		{
			get
			{
				return 100;
			}
		}
		public virtual void Register(ContainerBuilder builder, ITypeFinder typeFinder)
		{
            builder.RegisterType<CDNPictureService>().As<IPictureService>().InstancePerLifetimeScope();
		}
	}
}
